package com.nameli.admin.service;

import com.github.pagehelper.PageInfo;
import com.nameli.SIM.bean.dto.CheckMajorDTO;
import com.nameli.SIM.bean.entity.CheckMajorInfo;
import com.nameli.SIM.bean.vo.CheckMajorVO;
import com.nameli.SIM.bean.vo.MajorInfoVO;

import java.util.List;

/**
 * @author NAME-L
 * @Description TODO
 * @className CheckMajorRecordService
 * @date 2021-11-23 10:06:54
 */
public interface CheckMajorInfoService {
    /**
     * 显示所有审核的记录
     * @return
     */
    PageInfo<CheckMajorVO> queryAllCheckMajor(Integer pageIndex , Integer pageSize) throws Exception;

    /**
     * 审核通过操作，进行数据更新
     * @param checkMajorDTO
     * @return
     */
    Boolean updateCheckMajor(CheckMajorDTO checkMajorDTO) ;

    /**
     * 审核驳回操作，进行数据更新
     * @param checkMajorDTO
     * @return
     */
    Boolean updateRejectMajor(CheckMajorDTO checkMajorDTO) ;

}
